package com.shuwen.gcdj.bean.strategy.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author :yys
 * 关联设备
 * @date : 2023/5/9 14:47
 */
@Data
@ApiModel
public class AssociateDeviceReq {

    @ApiModelProperty(value = "策略Id",required = true)
    @NotBlank(message = "策略id不能为空")
    private String strategyId;

    @ApiModelProperty(value = "设备Id",required = true)
    @NotBlank(message = "设备Id不能为空")
    private String equipmentId;

    @ApiModelProperty(value = "设备类型")
    private Integer equipmentType;

    @ApiModelProperty(value = "区域")
    private Integer areaLocation;

}
